import router from '@system.router';
export default{
    data:{
        steam:"蒸",
        steamRange:[["35", "85", "100","135",], ["0", "1", "2"], ["0", "10","20","30","40","50"]],
        steamRangeSelected:[2,0,2],
        steamValue:[0,0,0],

        bake:"烤",
        bakeRange:[["180", "200", "210","230",], ["0", "1", "2"], ["0", "10","20","30","40","50"]],
        bakeRangeSelected:[2,0,2],
        bakeValue:[0,0,0],

        cleaning:"清洗",
        cleaningRange:[ ["0"], ["10"]],
        cleaningRangeSelected:[0,0],
        cleaningValue:[0,0],

        kill:"杀菌",
        killRange:[["60", "80", "90","100",], ["0"], ["10","20","30"]],
        killRangeSelected:[2,0,2],
        killValue:[0,0,0],
    },
    steamChange(e){
        this.steamValue=e.newValue;
        router.push({
            uri:'pages/status/status',
            params:{status:this.steam,arr:this.steamValue,rname:"无"},
        })
    },
    bakeChange(e){
        this.bakeValue=e.newValue;
        router.push({
            uri:'pages/status/status',
            params:{status:this.bake,arr:this.bakeValue,rname:"无"},
        })
    },
    cleaningChange(e){
        this.cleaningValue=e.newValue;

        router.push({
            uri:'pages/status/status',
            params:{status:this.cleaning,arr:this.cleaningValue,rname:"无"},
        })
    },
    killChange(e){
        this.killValue=e.newValue;

        router.push({
            uri:'pages/status/status',
            params:{status:this.kill,arr:this.killValue,rname:"无"},
        })
    },
    recipeClick(){
        router.push({
            uri:'pages/recipe/recipe',
//            params:{status:this.cleaning,arr:this.cleaningValue},
        })
    }




}